package o;

import com.huawei.appgallery.foundation.account.bean.UserSession;
import com.huawei.appgallery.jsonkit.api.annotation.FieldSecurity;
import com.huawei.appgallery.jsonkit.api.annotation.SecurityLevel;
import java.io.Serializable;

public class eyi extends bfd implements Serializable {
    public static final String APIMETHOD = "client.gs.getTabDetail";
    public static final int DEFAULT_PAGENUM = 1;
    public static final int INFO_ID_INIT = -1;
    private static final int MAX_LIST_NUM = 25;
    public static final int PRELOAD_FLAG_NO = 1;
    public static final int PRELOAD_FLAG_YES = 0;
    private static final String TAG = "WiseJointDetailRequest";
    private static final long serialVersionUID = 6539635892906602379L;
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    private String accountId_;
    private String dataFilterSwitch_;
    private String domainId_;
    private String extraBody_;
    private String gSource_;
    private int isPreload_;
    private long maxId_;
    private int maxResults_;
    private String reqFirstSubTab_;
    private int reqPageNum_;
    private long sinceId_;
    private String spinner_;
    private String uri_;

    public static class b {
        private int ʻ;
        private String ʼ;
        private int ʽ = 1;
        private int ˊ = 25;
        private String ˋ;
        private long ˎ;
        private String ˏ;
        private long ॱ;
        private String ॱॱ;
        private String ᐝ;

        public b(String str, long j) {
            this.ˏ = str;
            this.ˎ = j;
        }

        public final b ˎ(int i) {
            this.ʻ = i;
            return this;
        }

        public final b ˊ(String str) {
            this.ʼ = str;
            return this;
        }

        public final b ˋ(String str) {
            this.ᐝ = str;
            return this;
        }

        public final b ˊ(int i) {
            this.ˊ = i;
            return this;
        }

        public final b ˏ(String str) {
            this.ॱॱ = str;
            return this;
        }

        public String ˎ() {
            return this.ˏ;
        }

        public int ˏ() {
            return this.ˊ;
        }

        public long ˋ() {
            return this.ˎ;
        }

        public long ॱ() {
            return this.ॱ;
        }

        public String ˊ() {
            return this.ˋ;
        }

        public String ʽ() {
            return this.ᐝ;
        }

        public String ʻ() {
            return this.ʼ;
        }

        public int ॱॱ() {
            return this.ʻ;
        }

        public int ʼ() {
            return this.ʽ;
        }

        public String ᐝ() {
            return this.ॱॱ;
        }

        public eyi ͺ() {
            return new eyi();
        }
    }

    public String ˎ() {
        return this.uri_;
    }

    public void ᐝ(String str) {
        this.uri_ = str;
    }

    public int ˊ() {
        return this.reqPageNum_;
    }

    public void ˏ(int i) {
        this.reqPageNum_ = i;
    }

    public void ॱ(int i) {
        this.maxResults_ = i;
    }

    public void ॱॱ(String str) {
        this.accountId_ = str;
    }

    public void ʻ(String str) {
        this.extraBody_ = str;
    }

    public void ॱ(long j) {
        this.sinceId_ = j;
    }

    public long ॱ() {
        return this.maxId_;
    }

    public void ˏ(long j) {
        this.maxId_ = j;
    }

    public void ˊ(int i) {
        this.isPreload_ = i;
    }

    public void ʽ(String str) {
        this.gSource_ = str;
    }

    public void ͺ(String str) {
        this.domainId_ = str;
    }

    public eyi() {
        this.maxResults_ = 25;
        this.maxId_ = -1;
        this.reqPageNum_ = 1;
        this.isPreload_ = 1;
        this.reqFirstSubTab_ = "1";
        setMethod_(APIMETHOD);
        ॱॱ(UserSession.getInstance().getUserId());
        setCacheID(ʻ());
    }

    private eyi(b bVar) {
        this.maxResults_ = 25;
        this.maxId_ = -1;
        this.reqPageNum_ = 1;
        this.isPreload_ = 1;
        this.reqFirstSubTab_ = "1";
        setMethod_(APIMETHOD);
        ॱॱ(UserSession.getInstance().getUserId());
        ʼ();
        ˏ(bVar);
        setCacheID(ʻ());
    }

    private void ˏ(b bVar) {
        if (bVar != null) {
            ᐝ(bVar.ˎ());
            ॱ(bVar.ॱ());
            ˏ(bVar.ˋ());
            ˊ(bVar.ʽ());
            ʻ(bVar.ˊ());
            ॱ(bVar.ˏ());
            ˏ(bVar.ʻ());
            ˏ(bVar.ॱॱ());
            ˊ(bVar.ʼ());
            ʽ(bVar.ᐝ());
        }
    }

    private void ʼ() {
        ͺ(((bus) fho.ˏ().ˋ("Forum").ॱ(bus.class)).ˎ());
    }

    protected String ʻ() {
        String str = ˏ() + ˎ() + doi.ॱ();
        String userId = UserSession.getInstance().getUserId();
        if (userId != null) {
            return str + userId;
        }
        return str;
    }
}
